package com.zyx.strategy.stg04;

import org.springframework.stereotype.Service;

/**
 * @author Yaxi.Zhang
 * @since 2022/10/10 00:57
 */
@Service
public class Handler11 implements FourthHandler {
    @Override
    public void handler() {
        System.out.println("外部定义的处理完成");
    }

    @Override
    public boolean accept(String type) {
        return "Handler1".equals(type);
    }
}
